<?xml version="1.0"?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>wireshark</Name>
        <Homepage>http://www.wireshark.org</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>Network traffic analyzer</Summary>
        <Description>Wireshark allows you to examine protocol data stored in files or as it is captured from wired or wireless (WiFi or Bluetooth) networks, USB devices, and many other sources. It supports dozens of protocol capture file formats and understands more than a thousand protocols.</Description>
        <Archive sha1sum="2a495346c46dadeb405d0b89cec18fe7edc77e1a" type="tarxz">https://www.wireshark.org/download/src/all-versions/wireshark-4.0.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>meson</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libpcap-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>lua52-devel</Dependency>
            <Dependency>mit-kerberos</Dependency>
            <Dependency>e2fsprogs-devel</Dependency>
            <Dependency>gnutls-devel</Dependency>
            <Dependency>libmaxminddb-devel</Dependency>
            <Dependency>libgcrypt-devel</Dependency>
            <Dependency>libcap-devel</Dependency>
            <Dependency>sbc-devel</Dependency>
            <Dependency>c-ares-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>libssh-devel</Dependency>
            <Dependency>libnl-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>lz4-devel</Dependency>
            <Dependency>libnghttp2-devel</Dependency>
            <Dependency>qt5-multimedia-devel</Dependency>
            <Dependency>qt5-svg-devel</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>minizip-devel</Dependency>
            <Dependency>zstd-devel</Dependency>
            <Dependency>brotli-devel</Dependency>
            <Dependency>speexdsp-devel</Dependency>
            <Dependency>snappy-devel</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>libilbc-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>doxygen</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>wireshark</Name>
        <RuntimeDependencies>
            <Dependency>lz4</Dependency>
            <Dependency>sbc</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>zstd</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>lua52</Dependency>
            <Dependency>brotli</Dependency>
            <Dependency>c-ares</Dependency>
            <Dependency>gnutls</Dependency>
            <Dependency>snappy</Dependency>
            <Dependency>libssh</Dependency>
            <Dependency>libilbc</Dependency>
            <Dependency>libopus</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>libgcrypt</Dependency>
            <Dependency>libnghttp2</Dependency>
            <Dependency>mit-kerberos</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/lib*.so*</Path>
            <Path fileType="library">/usr/lib/wireshark</Path>
            <Path fileType="data">/usr/share/appdata</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/mime</Path>
            <Path fileType="data">/usr/share/wireshark</Path>
            <Path fileType="data">/usr/share/metainfo</Path>
        </Files>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>wireshark-devel</Name>
        <RuntimeDependencies>
            <Dependency release="current">wireshark</Dependency>
            <Dependency>glib2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2022-10-17</Date>
            <Version>4.0.0</Version>
            <Comment>v.bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2021-08-23</Date>
            <Version>3.4.7</Version>
            <Comment>First release for Pisi Linux</Comment>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Update>
    </History>
</PISI>
